﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="EducationManagementSystem.WebSite.login2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>登录</title>
      <style type="text/css">
        #div
        {
            text-align: center;
        }
        #div1
        {
            position: absolute;
            top: 293px;
            left: 490px;
        }
        #mm
        {
            position: absolute;
            left: 330px;
            top: 0px;
        }
        #div3
        {
            position: absolute;
            top: 244px;
            left: 490px;
        }
        #hm
        {
            position: absolute;
            left: 330px;
            top: 0px;
        }
        #div2
        {
            position: absolute;
            top: 400px;
            left: 630px;
        }
        #div4
        {
            position: absolute;
            top: 350px;
            left: 485px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="div">
        <img alt="" src="../img/Login.jpg" />
        <div id="div3">
            用户名:
            <img alt="" src="../img/r.jpg" height="15px" width="15px" />
            <asp:TextBox ID="TextBox2" runat="server" Width="220px" Height="19px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                ControlToValidate="TextBox2" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
            <%-- <div id="hm" runat="server">
            </div>--%>
        </div>
        <div id="div1">
            密&nbsp;&nbsp;码:
            <img alt="" src="../img/p.jpg" height="15px" width="15px" />
            <asp:TextBox ID="TextBox1" runat="server" Width="220px" Height="19px" TextMode="Password"
                onpaste="return false" oncopy="return false" Font-Size="X-Large"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                ControlToValidate="TextBox1" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
             <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox1"
                ErrorMessage="不要输入特殊字符" ValidationExpression="\w+" ForeColor="Red" Display="Dynamic"></asp:RegularExpressionValidator>
            <%--<div id="mm" runat="server">
            </div>--%>
        </div>
        <div id="div4">
            <asp:RadioButton ID="RadioButton1" runat="server" Text="学生" GroupName="a" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:RadioButton ID="RadioButton2" runat="server" Text="主任" GroupName="a" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:RadioButton ID="RadioButton3" runat="server" Text="管理员" GroupName="a" />
        </div>
        <div id="div2">
            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/img/bt.jpg" OnClick="ImageButton1_Click" />
        </div>
    </div>
    </form>
</body>
</html>
